package com.sc.ktapplication.common.util

import android.util.Log

import com.sc.ktapplication.BuildConfig


object LogUtil {


    //全部logName
    private const val APP_NAME = "ktapplicationlog"

    /**
     * 自定义输出
     * @param msg
     */
    fun print(msg: String) {
        if (BuildConfig.DEBUG) {
            Log.d(APP_NAME, msg)
        }
    }

    /**
     * 自定义输出
     * @param name
     * @param msg
     */
    fun print(name: String, msg: String) {
        if (BuildConfig.DEBUG) {
            Log.d(name, msg)
        }
    }
}
